Release 10.1A: OpenEdge Development:
Progress 4GL Reference


UNDERLINE statement

Underlines a field or variable, using the next display line for the underline.

Note: Does not apply to SpeedScript programming.

Syntax

UNDERLINE [ STREAM stream ] field ... [ frame-phrase ] 

STREAM stream

Specifies the name of a stream. If you do not name a stream, Progress uses the unnamed stream. See the DEFINE STREAM statement reference entry in this book and the chapter on alternate I/O sources in OpenEdge Development: Programming Interfaces for more information on streams.

field

Represents the name of the field or variable you want to underline.

frame-phrase

Specifies the overall layout and processing properties of a frame. For more information on frame-phrase, see the Frame phrase reference entry.

Example

This procedure produces a report of customer records, categorized by state. When the last customer for a certain state has been displayed (determined by the LAST-OF function), the UNDERLINE statement underlines the state field.

r-under1.p
FOR EACH customer BREAK BY state WITH USE-TEXT: 
  DISPLAY state cust-num name. 
  IF LAST-OF(state) THEN UNDERLINE state. 
END. 

Notes

See also

DEFINE STREAM statement, Frame phrase


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095